package com.omuao.common.mongo;

/**
 * MongoDB锁
 *
 * @author yumi@omuao.com
 * @since 2019-10-17
 **/
public class MongoLock {

    /**
     * 键
     */
    private String key;
    /**
     * 值
     */
    private double value;
    /**
     * 过期时间
     */
    private long expire;

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public long getExpire() {
        return expire;
    }

    public void setExpire(long expire) {
        this.expire = expire;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}